﻿@model IList<lazada.Models.FloorModel>

@foreach (var id in Model)
{

    <div class="floor1">
        @if (@id.MATANG != "1" && @id.MATANG != "2" && @id.MATANG != "3"
            && @id.MATANG != "4" && @id.MATANG != "5" && @id.MATANG != "6"
            && @id.MATANG != "7" && @id.MATANG != "8" && @id.MATANG != "9"
            && @id.MATANG != "10" && @id.MATANG != "11" && @id.MATANG != "12")
        {
            <div class="floor1_title">
                <div class="ftl">
                    <div class="floor1_text">
                        TẦNG
                    </div>
                    <div class="floor1_number">
                        @id.MATANG
                    </div>

                </div>
                <div class="floor1_none">

                    <a href="#">@id.TENTANG</a>

                </div>
                <div class="ftr1">

                    <i class="icon icon-elevator"></i>
                    <a href="#">
                        <i class="icon icon-elevator_up"></i>
                    </a>
                </div>
            </div>
        }
        @if(@id.MATANG == "1")
        { 
        <div class="floor1_title">
            <div class="ftl">
                <div class="floor1_text">
                    TẦNG
                </div>
                <div class="floor1_number">
                    @id.MATANG
                </div>

            </div>
            <div class="floor1_none">

                <a href="#">@id.TENTANG</a>

            </div>
            <div class="ftr">
                <a href="#">
                    <i class="icon icon-elevator_down"></i>
                </a>
                <i class="icon icon-elevator"></i>
            </div>
        </div>
        }
        @if (@id.MATANG == "2")
        {
            <div class="floor1_title" style="border-top-color:black;">
                <div class="ftl">
                    <div class="floor1_text" style="background-color:black;">
                        TẦNG
                    </div>
                    <div class="floor1_number" style="color:black;">
                        @id.MATANG
                    </div>

                </div>
                <div class="floor1_none">

                    <a href="#">@id.TENTANG</a>

                </div>
                <div class="ftr">
                    <a href="#">
                        <i class="icon icon-elevator_down"></i>
                    </a>
                    <i class="icon icon-elevator"></i>
                    <a href="#">
                        <i class="icon icon-elevator_up"></i>
                    </a>
                </div>
            </div>
        }
        @if (@id.MATANG == "3" || @id.MATANG == "4")
        {
            <div class="floor1_title" style="border-top-color: #9bb342;">
                <div class="ftl">
                    <div class="floor1_text" style="background-color: #9bb342;">
                        TẦNG
                    </div>
                    <div class="floor1_number" style="color: #9bb342;">
                        @id.MATANG
                    </div>

                </div>
                <div class="floor1_none">

                    <a href="#">@id.TENTANG</a>

                </div>
                <div class="ftr">
                    <a href="#">
                        <i class="icon icon-elevator_down"></i>
                    </a>
                    <i class="icon icon-elevator"></i>
                    <a href="#">
                        <i class="icon icon-elevator_up"></i>
                    </a>
                </div>
            </div>
        }
        
        @if (@id.MATANG == "5" || @id.MATANG == "6")
        {
            <div class="floor1_title" style="border-top-color: #ca248e;">
                <div class="ftl">
                    <div class="floor1_text" style="background-color: #ca248e;">
                        TẦNG
                    </div>
                    <div class="floor1_number" style="color: #ca248e;">
                        @id.MATANG
                    </div>

                </div>
                <div class="floor1_none">

                    <a href="#">@id.TENTANG</a>

                </div>
                <div class="ftr">
                    <a href="#">
                        <i class="icon icon-elevator_down"></i>
                    </a>
                    <i class="icon icon-elevator"></i>
                    <a href="#">
                        <i class="icon icon-elevator_up"></i>
                    </a>
                </div>
            </div>
        }
        @if (@id.MATANG == "7")
        {
            <div class="floor1_title" style="border-top-color: #f4701e;">
                <div class="ftl">
                    <div class="floor1_text" style="background-color: #f4701e;">
                        TẦNG
                    </div>
                    <div class="floor1_number" style="color: #f4701e;">
                        @id.MATANG
                    </div>

                </div>
                <div class="floor1_none">

                    <a href="#">@id.TENTANG</a>

                </div>
                <div class="ftr">
                    <a href="#">
                        <i class="icon icon-elevator_down"></i>
                    </a>
                    <i class="icon icon-elevator"></i>
                    <a href="#">
                        <i class="icon icon-elevator_up"></i>
                    </a>
                </div>
            </div>
        }
        @if (@id.MATANG == "8" || @id.MATANG == "9")
        {
            <div class="floor1_title" style="border-top-color: #a44d4c;">
                <div class="ftl">
                    <div class="floor1_text" style="background-color: #a44d4c;">
                        TẦNG
                    </div>
                    <div class="floor1_number" style="color: #a44d4c;">
                        @id.MATANG
                    </div>

                </div>
                <div class="floor1_none">

                    <a href="#">@id.TENTANG</a>

                </div>
                <div class="ftr">
                    <a href="#">
                        <i class="icon icon-elevator_down"></i>
                    </a>
                    <i class="icon icon-elevator"></i>
                    <a href="#">
                        <i class="icon icon-elevator_up"></i>
                    </a>
                </div>
            </div>
        }
        @if (@id.MATANG == "10")
        {
            <div class="floor1_title" style="border-top-color: #5d3380;">
                <div class="ftl">
                    <div class="floor1_text" style="background-color: #5d3380;">
                        TẦNG
                    </div>
                    <div class="floor1_number" style="color: #5d3380;">
                        @id.MATANG
                    </div>

                </div>
                <div class="floor1_none">

                    <a href="#">@id.TENTANG</a>

                </div>
                <div class="ftr">
                    <a href="#">
                        <i class="icon icon-elevator_down"></i>
                    </a>
                    <i class="icon icon-elevator"></i>
                    <a href="#">
                        <i class="icon icon-elevator_up"></i>
                    </a>
                </div>
            </div>
        }
        @if (@id.MATANG == "11")
        {
            <div class="floor1_title" style="border-top-color: #0090c9;">
                <div class="ftl">
                    <div class="floor1_text" style="background-color: #0090c9;">
                        TẦNG
                    </div>
                    <div class="floor1_number" style="color: #0090c9;">
                        @id.MATANG
                    </div>

                </div>
                <div class="floor1_none">

                    <a href="#">@id.TENTANG</a>

                </div>
                <div class="ftr">
                    <a href="#">
                        <i class="icon icon-elevator_down"></i>
                    </a>
                    <i class="icon icon-elevator"></i>
                    <a href="#">
                        <i class="icon icon-elevator_up"></i>
                    </a>
                </div>
            </div>
        
        }
        @if (@id.MATANG == "12")
        {
            <div class="floor1_title">
                <div class="ftl">
                    <div class="floor1_text">
                        TẦNG
                    </div>
                    <div class="floor1_number">
                        @id.MATANG
                    </div>

                </div>
                <div class="floor1_none">

                    <a href="#">@id.TENTANG</a>

                </div>
                <div class="ftr1">
                    
                    <i class="icon icon-elevator"></i>
                    <a href="#">
                        <i class="icon icon-elevator_up"></i>
                    </a>
                </div>
            </div>
        }
        
        <div class="floor1_content">
            @if (@id.MATANG == "1" || @id.MATANG == "12")
            { 
            <div class="floor1_left column-1">
                <div class="goiyms">
                    <a class="gytxt">Gợi ý mua sắm</a>
                </div>

                @if (!(@id.LIST1 == ""))
                {
                    <a href="#"><span>@id.LIST1</span></a>
                }
                @if (!(@id.LIST2 == ""))
                {
                    <a href="#"><span>@id.LIST2</span></a>
                }
                @if (!(@id.LIST3 == ""))
                {
                    <a href="#"><span>@id.LIST3</span></a>
                }
                @if (!(@id.LIST4 == ""))
                {
                    <a href="#"><span>@id.LIST4</span></a>
                }
                @if (!(@id.LIST5 == ""))
                {
                    <a href="#"><span>@id.LIST5</span></a>
                }
                @if (!(@id.LIST6 == ""))
                {
                    <a href="#"><span>@id.LIST6</span></a>
                }
                @if (!(@id.LIST7 == ""))
                {
                    <a href="#"><span>@id.LIST7</span></a>
                }
                @if (!(@id.LIST8 == ""))
                {
                    <a href="#"><span>@id.LIST8</span></a>
                }
                @if (!(@id.LIST9 == ""))
                {
                    <a href="#"><span>@id.LIST9</span></a>
                }
                @if (!(@id.LIST10 == ""))
                {
                    <a href="#"><span>@id.LIST10</span></a>
                }
                @if (!(@id.LIST11 == ""))
                {
                    <a href="#"><span>@id.LIST11</span></a>
                }
            </div>
            }
            @if (@id.MATANG == "2")
            {
                <div class="floor2_left column-1">
                    <div class="goiyms">
                        <a class="gytxt">Gợi ý mua sắm</a>
                    </div>

                    @if (!(@id.LIST1 == ""))
                    {
                        <a href="#"><span>@id.LIST1</span></a>
                    }
                    @if (!(@id.LIST2 == ""))
                    {
                        <a href="#"><span>@id.LIST2</span></a>
                    }
                    @if (!(@id.LIST3 == ""))
                    {
                        <a href="#"><span>@id.LIST3</span></a>
                    }
                    @if (!(@id.LIST4 == ""))
                    {
                        <a href="#"><span>@id.LIST4</span></a>
                    }
                    @if (!(@id.LIST5 == ""))
                    {
                        <a href="#"><span>@id.LIST5</span></a>
                    }
                    @if (!(@id.LIST6 == ""))
                    {
                        <a href="#"><span>@id.LIST6</span></a>
                    }
                    @if (!(@id.LIST7 == ""))
                    {
                        <a href="#"><span>@id.LIST7</span></a>
                    }
                    @if (!(@id.LIST8 == ""))
                    {
                        <a href="#"><span>@id.LIST8</span></a>
                    }
                    @if (!(@id.LIST9 == ""))
                    {
                        <a href="#"><span>@id.LIST9</span></a>
                    }
                    @if (!(@id.LIST10 == ""))
                    {
                        <a href="#"><span>@id.LIST10</span></a>
                    }
                    @if (!(@id.LIST11 == ""))
                    {
                        <a href="#"><span>@id.LIST11</span></a>
                    }
                </div>
            }
            
            @if (@id.MATANG == "3" || @id.MATANG == "4")
            {
                <div class="floor3_left column-1">
                        <div class="goiyms">
                            <a class="gytxt">Gợi ý mua sắm</a>
                        </div>

                        @if (!(@id.LIST1 == ""))
                {
                            <a href="#"><span>@id.LIST1</span></a>
                }
                        @if (!(@id.LIST2 == ""))
                {
                            <a href="#"><span>@id.LIST2</span></a>
                }
                        @if (!(@id.LIST3 == ""))
                {
                            <a href="#"><span>@id.LIST3</span></a>
                }
                        @if (!(@id.LIST4 == ""))
                {
                            <a href="#"><span>@id.LIST4</span></a>
                }
                        @if (!(@id.LIST5 == ""))
                {
                            <a href="#"><span>@id.LIST5</span></a>
                }
                        @if (!(@id.LIST6 == ""))
                {
                            <a href="#"><span>@id.LIST6</span></a>
                }
                        @if (!(@id.LIST7 == ""))
                {
                            <a href="#"><span>@id.LIST7</span></a>
                }
                        @if (!(@id.LIST8 == ""))
                {
                            <a href="#"><span>@id.LIST8</span></a>
                }
                        @if (!(@id.LIST9 == ""))
                {
                            <a href="#"><span>@id.LIST9</span></a>
                }
                        @if (!(@id.LIST10 == ""))
                {
                            <a href="#"><span>@id.LIST10</span></a>
                }
                        @if (!(@id.LIST11 == ""))
                {
                            <a href="#"><span>@id.LIST11</span></a>
                }
                    </div>
            }
            @if (@id.MATANG == "5" || @id.MATANG == "6")
            {
                <div class="floor5_left column-1">
                    <div class="goiyms">
                        <a class="gytxt">Gợi ý mua sắm</a>
                    </div>

                    @if (!(@id.LIST1 == ""))
                    {
                        <a href="#"><span>@id.LIST1</span></a>
                    }
                    @if (!(@id.LIST2 == ""))
                    {
                        <a href="#"><span>@id.LIST2</span></a>
                    }
                    @if (!(@id.LIST3 == ""))
                    {
                        <a href="#"><span>@id.LIST3</span></a>
                    }
                    @if (!(@id.LIST4 == ""))
                    {
                        <a href="#"><span>@id.LIST4</span></a>
                    }
                    @if (!(@id.LIST5 == ""))
                    {
                        <a href="#"><span>@id.LIST5</span></a>
                    }
                    @if (!(@id.LIST6 == ""))
                    {
                        <a href="#"><span>@id.LIST6</span></a>
                    }
                    @if (!(@id.LIST7 == ""))
                    {
                        <a href="#"><span>@id.LIST7</span></a>
                    }
                    @if (!(@id.LIST8 == ""))
                    {
                        <a href="#"><span>@id.LIST8</span></a>
                    }
                    @if (!(@id.LIST9 == ""))
                    {
                        <a href="#"><span>@id.LIST9</span></a>
                    }
                    @if (!(@id.LIST10 == ""))
                    {
                        <a href="#"><span>@id.LIST10</span></a>
                    }
                    @if (!(@id.LIST11 == ""))
                    {
                        <a href="#"><span>@id.LIST11</span></a>
                    }
                </div>
            }
            @if (@id.MATANG == "7")
            {
                <div class="floor7_left column-1">
                    <div class="goiyms">
                        <a class="gytxt">Gợi ý mua sắm</a>
                    </div>

                    @if (!(@id.LIST1 == ""))
                    {
                        <a href="#"><span>@id.LIST1</span></a>
                    }
                    @if (!(@id.LIST2 == ""))
                    {
                        <a href="#"><span>@id.LIST2</span></a>
                    }
                    @if (!(@id.LIST3 == ""))
                    {
                        <a href="#"><span>@id.LIST3</span></a>
                    }
                    @if (!(@id.LIST4 == ""))
                    {
                        <a href="#"><span>@id.LIST4</span></a>
                    }
                    @if (!(@id.LIST5 == ""))
                    {
                        <a href="#"><span>@id.LIST5</span></a>
                    }
                    @if (!(@id.LIST6 == ""))
                    {
                        <a href="#"><span>@id.LIST6</span></a>
                    }
                    @if (!(@id.LIST7 == ""))
                    {
                        <a href="#"><span>@id.LIST7</span></a>
                    }
                    @if (!(@id.LIST8 == ""))
                    {
                        <a href="#"><span>@id.LIST8</span></a>
                    }
                    @if (!(@id.LIST9 == ""))
                    {
                        <a href="#"><span>@id.LIST9</span></a>
                    }
                    @if (!(@id.LIST10 == ""))
                    {
                        <a href="#"><span>@id.LIST10</span></a>
                    }
                    @if (!(@id.LIST11 == ""))
                    {
                        <a href="#"><span>@id.LIST11</span></a>
                    }
                </div>
            }
            @if (@id.MATANG == "8" || @id.MATANG == "9")
            {
                <div class="floor8_left column-1">
                    <div class="goiyms">
                        <a class="gytxt">Gợi ý mua sắm</a>
                    </div>

                    @if (!(@id.LIST1 == ""))
                    {
                        <a href="#"><span>@id.LIST1</span></a>
                    }
                    @if (!(@id.LIST2 == ""))
                    {
                        <a href="#"><span>@id.LIST2</span></a>
                    }
                    @if (!(@id.LIST3 == ""))
                    {
                        <a href="#"><span>@id.LIST3</span></a>
                    }
                    @if (!(@id.LIST4 == ""))
                    {
                        <a href="#"><span>@id.LIST4</span></a>
                    }
                    @if (!(@id.LIST5 == ""))
                    {
                        <a href="#"><span>@id.LIST5</span></a>
                    }
                    @if (!(@id.LIST6 == ""))
                    {
                        <a href="#"><span>@id.LIST6</span></a>
                    }
                    @if (!(@id.LIST7 == ""))
                    {
                        <a href="#"><span>@id.LIST7</span></a>
                    }
                    @if (!(@id.LIST8 == ""))
                    {
                        <a href="#"><span>@id.LIST8</span></a>
                    }
                    @if (!(@id.LIST9 == ""))
                    {
                        <a href="#"><span>@id.LIST9</span></a>
                    }
                    @if (!(@id.LIST10 == ""))
                    {
                        <a href="#"><span>@id.LIST10</span></a>
                    }
                    @if (!(@id.LIST11 == ""))
                    {
                        <a href="#"><span>@id.LIST11</span></a>
                    }
                </div>
            }
            @if (@id.MATANG == "10")
            {
                <div class="floor10_left column-1">
                    <div class="goiyms">
                        <a class="gytxt">Gợi ý mua sắm</a>
                    </div>

                    @if (!(@id.LIST1 == ""))
                    {
                        <a href="#"><span>@id.LIST1</span></a>
                    }
                    @if (!(@id.LIST2 == ""))
                    {
                        <a href="#"><span>@id.LIST2</span></a>
                    }
                    @if (!(@id.LIST3 == ""))
                    {
                        <a href="#"><span>@id.LIST3</span></a>
                    }
                    @if (!(@id.LIST4 == ""))
                    {
                        <a href="#"><span>@id.LIST4</span></a>
                    }
                    @if (!(@id.LIST5 == ""))
                    {
                        <a href="#"><span>@id.LIST5</span></a>
                    }
                    @if (!(@id.LIST6 == ""))
                    {
                        <a href="#"><span>@id.LIST6</span></a>
                    }
                    @if (!(@id.LIST7 == ""))
                    {
                        <a href="#"><span>@id.LIST7</span></a>
                    }
                    @if (!(@id.LIST8 == ""))
                    {
                        <a href="#"><span>@id.LIST8</span></a>
                    }
                    @if (!(@id.LIST9 == ""))
                    {
                        <a href="#"><span>@id.LIST9</span></a>
                    }
                    @if (!(@id.LIST10 == ""))
                    {
                        <a href="#"><span>@id.LIST10</span></a>
                    }
                    @if (!(@id.LIST11 == ""))
                    {
                        <a href="#"><span>@id.LIST11</span></a>
                    }
                </div>
            }
            @if (@id.MATANG != "1" && @id.MATANG != "2" 
                && @id.MATANG != "3" && @id.MATANG != "4"
                && @id.MATANG != "5" && @id.MATANG != "6"
                && @id.MATANG != "7" && @id.MATANG != "8"
                && @id.MATANG != "9" && @id.MATANG != "10"
                && @id.MATANG != "12")
            {
                <div class="floor11_left column-1">
                    <div class="goiyms">
                        <a class="gytxt">Gợi ý mua sắm</a>
                    </div>

                    @if (!(@id.LIST1 == ""))
                    {
                        <a href="#"><span>@id.LIST1</span></a>
                    }
                    @if (!(@id.LIST2 == ""))
                    {
                        <a href="#"><span>@id.LIST2</span></a>
                    }
                    @if (!(@id.LIST3 == ""))
                    {
                        <a href="#"><span>@id.LIST3</span></a>
                    }
                    @if (!(@id.LIST4 == ""))
                    {
                        <a href="#"><span>@id.LIST4</span></a>
                    }
                    @if (!(@id.LIST5 == ""))
                    {
                        <a href="#"><span>@id.LIST5</span></a>
                    }
                    @if (!(@id.LIST6 == ""))
                    {
                        <a href="#"><span>@id.LIST6</span></a>
                    }
                    @if (!(@id.LIST7 == ""))
                    {
                        <a href="#"><span>@id.LIST7</span></a>
                    }
                    @if (!(@id.LIST8 == ""))
                    {
                        <a href="#"><span>@id.LIST8</span></a>
                    }
                    @if (!(@id.LIST9 == ""))
                    {
                        <a href="#"><span>@id.LIST9</span></a>
                    }
                    @if (!(@id.LIST10 == ""))
                    {
                        <a href="#"><span>@id.LIST10</span></a>
                    }
                    @if (!(@id.LIST11 == ""))
                    {
                        <a href="#"><span>@id.LIST11</span></a>
                    }
                </div>
            }

                
            <div class="floor1_center">
                @if (@id.MATANG == "1" || @id.MATANG == "2" || @id.MATANG == "3" || @id.MATANG == "4"
                    || @id.MATANG == "5" || @id.MATANG == "6" || @id.MATANG == "7" || @id.MATANG == "8"
                    || @id.MATANG == "9" || @id.MATANG == "10" || @id.MATANG == "11" || @id.MATANG == "12")
                {
                if (@id.MATANG == "6" || @id.MATANG == "11")
                {
                    <div class="col1_1">
                        @if (!(@id.LISTIMG1 == ""))
                        {

                            <a href="#">
                                <img src="~/Content/images/T @id.MATANG/@id.LISTIMG1">
                            </a>

                        }
                        @if (!(@id.LISTIMG2 == ""))
                        {

                            <a href="#">
                                <img src="~/Content/images/T @id.MATANG/@id.LISTIMG2">
                            </a>

                        }
                        @if (!(@id.LISTIMG3 == ""))
                        {

                            <a href="#">
                                <img src="~/Content/images/T @id.MATANG/@id.LISTIMG3">
                            </a>

                        }

                        @if (!(@id.LISTIMG4 == ""))
                        {

                            <a href="#">
                                <img src="~/Content/images/T @id.MATANG/@id.LISTIMG4">
                            </a>

                        }
                        @if (!(@id.LISTIMG5 == ""))
                        {

                            <a href="#">
                                <img src="~/Content/images/T @id.MATANG/@id.LISTIMG5">
                            </a>

                        }
                        @if (!(@id.LISTIMG6 == ""))
                        {

                            <a href="#">
                                <img src="~/Content/images/T @id.MATANG/@id.LISTIMG6">
                            </a>

                        }
                    </div>
                }

                if (@id.MATANG == "7")
                {
                    <div class="col1_2">
                        @if (!(@id.LISTIMG1 == ""))
                        {

                            <a href="#">
                                <img src="~/Content/images/T @id.MATANG/@id.LISTIMG1">
                            </a>

                        }
                        @if (!(@id.LISTIMG2 == ""))
                        {

                            <a href="#">
                                <img src="~/Content/images/T @id.MATANG/@id.LISTIMG2">
                            </a>

                        }
                        @if (!(@id.LISTIMG3 == ""))
                        {

                            <a href="#">
                                <img src="~/Content/images/T @id.MATANG/@id.LISTIMG3">
                            </a>

                        }

                        @if (!(@id.LISTIMG4 == ""))
                        {

                            <a href="#">
                                <img src="~/Content/images/T @id.MATANG/@id.LISTIMG4">
                            </a>

                        }
                        @if (!(@id.LISTIMG5 == ""))
                        {

                            <a href="#">
                                <img src="~/Content/images/T @id.MATANG/@id.LISTIMG5">
                            </a>

                        }
                        @if (!(@id.LISTIMG6 == ""))
                        {

                            <a href="#">
                                <img src="~/Content/images/T @id.MATANG/@id.LISTIMG6">
                            </a>

                        }
                    </div>
                }
                if (@id.MATANG == "8")
                {
                    <div class="col1_3">
                        @if (!(@id.LISTIMG1 == ""))
                        {

                            <a href="#">
                                <img src="~/Content/images/T @id.MATANG/@id.LISTIMG1">
                            </a>

                        }
                        @if (!(@id.LISTIMG2 == ""))
                        {

                            <a href="#">
                                <img src="~/Content/images/T @id.MATANG/@id.LISTIMG2">
                            </a>

                        }
                        @if (!(@id.LISTIMG3 == ""))
                        {

                            <a href="#">
                                <img src="~/Content/images/T @id.MATANG/@id.LISTIMG3">
                            </a>

                        }

                        @if (!(@id.LISTIMG4 == ""))
                        {

                            <a href="#">
                                <img src="~/Content/images/T @id.MATANG/@id.LISTIMG4">
                            </a>

                        }
                        @if (!(@id.LISTIMG5 == ""))
                        {

                            <a href="#">
                                <img src="~/Content/images/T @id.MATANG/@id.LISTIMG5">
                            </a>

                        }
                        @if (!(@id.LISTIMG6 == ""))
                        {

                            <a href="#">
                                <img src="~/Content/images/T @id.MATANG/@id.LISTIMG6">
                            </a>

                        }
                    </div>
                }

                if (@id.MATANG != "6" && @id.MATANG != "7" && @id.MATANG != "8" && @id.MATANG != "11")
                {
                    <div class="col1">
                        @if (!(@id.LISTIMG1 == ""))
                        {

                            <a href="#">
                                <img src="~/Content/images/T @id.MATANG/@id.LISTIMG1">
                            </a>

                        }
                        @if (!(@id.LISTIMG2 == ""))
                        {

                            <a href="#">
                                <img src="~/Content/images/T @id.MATANG/@id.LISTIMG2">
                            </a>

                        }
                        @if (!(@id.LISTIMG3 == ""))
                        {

                            <a href="#">
                                <img src="~/Content/images/T @id.MATANG/@id.LISTIMG3">
                            </a>

                        }

                        @if (!(@id.LISTIMG4 == ""))
                        {

                            <a href="#">
                                <img src="~/Content/images/T @id.MATANG/@id.LISTIMG4">
                            </a>

                        }
                        @if (!(@id.LISTIMG5 == ""))
                        {

                            <a href="#">
                                <img src="~/Content/images/T @id.MATANG/@id.LISTIMG5">
                            </a>

                        }
                        @if (!(@id.LISTIMG6 == ""))
                        {

                            <a href="#">
                                <img src="~/Content/images/T @id.MATANG/@id.LISTIMG6">
                            </a>

                        }
                    </div>
                }
               
                if (@id.MATANG == "7")
                {
                    <div class="col2_1">
                        @if (!(@id.LISTIMG7 == ""))
                    {

                            <a href="#">
                                <img src="~/Content/images/T @id.MATANG/@id.LISTIMG7">
                            </a>

                    }
                        @if (!(@id.LISTIMG8 == ""))
                    {

                            <a href="#">
                                <img src="~/Content/images/T @id.MATANG/@id.LISTIMG8">
                            </a>

                    }
                        @if (!(@id.LISTIMG9 == ""))
                    {

                            <a href="#">
                                <img src="~/Content/images/T @id.MATANG/@id.LISTIMG9">
                            </a>

                    }
                    </div>
                }
                if(@id.MATANG != "7")
                {
                    <div class="col2">
                        @if (!(@id.LISTIMG7 == ""))
                    {

                            <a href="#">
                                <img src="~/Content/images/T @id.MATANG/@id.LISTIMG7">
                            </a>

                    }
                        @if (!(@id.LISTIMG8 == ""))
                    {

                            <a href="#">
                                <img src="~/Content/images/T @id.MATANG/@id.LISTIMG8">
                            </a>

                    }
                        @if (!(@id.LISTIMG9 == ""))
                    {

                            <a href="#">
                                <img src="~/Content/images/T @id.MATANG/@id.LISTIMG9">
                            </a>

                    }
                    </div>
                }
                <div class="col3">
                    @if (!(@id.LISTIMG10 == ""))
                    {

                        <a href="#">
                            <img src="~/Content/images/T @id.MATANG/@id.LISTIMG10">
                        </a>

                    }
                    @if (!(@id.LISTIMG11 == ""))
                    {

                        <a href="#">
                            <img src="~/Content/images/T @id.MATANG/@id.LISTIMG11">
                        </a>

                    }

                    @if (!(@id.LISTIMG12 == ""))
                    {

                        <a href="#">
                            <img src="~/Content/images/T @id.MATANG/@id.LISTIMG12">
                        </a>

                    }
                </div>
                <div class="col4">
                    @if (!(@id.LISTIMG13 == ""))
                    {

                        <a href="#">
                            <img src="~/Content/images/T @id.MATANG/@id.LISTIMG13">
                        </a>

                    }
                    @if (!(@id.LISTIMG14 == ""))
                    {

                        <a href="#">
                            <img src="~/Content/images/T @id.MATANG/@id.LISTIMG14">
                        </a>

                    }

                    @if (!(@id.LISTIMG15 == ""))
                    {

                        <a href="#">
                            <img src="~/Content/images/T @id.MATANG/@id.LISTIMG15">
                        </a>

                    }


                </div>
                }
                @if (@id.MATANG != "1" && @id.MATANG != "2" && @id.MATANG != "3" && @id.MATANG != "4"
                    && @id.MATANG != "5" && @id.MATANG != "6" && @id.MATANG != "7" && @id.MATANG != "8"
                    && @id.MATANG != "9" && @id.MATANG != "10" && @id.MATANG != "11" && @id.MATANG != "12")
                {
                    <div class="col1">
                        @if (!(@id.LISTIMG1 == ""))
                        {

                            <a href="#">
                                <img src="~/Content/images/upload/@id.LISTIMG1">
                            </a>

                        }
                        @if (!(@id.LISTIMG2 == ""))
                        {

                            <a href="#">
                                <img src="~/Content/images/upload/@id.LISTIMG2">
                            </a>

                        }
                        @if (!(@id.LISTIMG3 == ""))
                        {

                            <a href="#">
                                <img src="~/Content/images/upload/@id.LISTIMG3">
                            </a>

                        }

                        @if (!(@id.LISTIMG4 == ""))
                        {

                            <a href="#">
                                <img src="~/Content/images/upload/@id.LISTIMG4">
                            </a>

                        }
                        @if (!(@id.LISTIMG5 == ""))
                        {

                            <a href="#">
                                <img src="~/Content/images/upload/@id.LISTIMG5">
                            </a>

                        }
                        @if (!(@id.LISTIMG6 == ""))
                        {

                            <a href="#">
                                <img src="~/Content/images/upload/@id.LISTIMG6">
                            </a>

                        }
                    </div>
                    <div class="col2">
                        @if (!(@id.LISTIMG7 == ""))
                    {

                            <a href="#">
                                <img src="~/Content/images/upload/@id.LISTIMG7">
                            </a>

                    }
                        @if (!(@id.LISTIMG8 == ""))
                    {

                            <a href="#">
                                <img src="~/Content/images/upload/@id.LISTIMG8">
                            </a>

                    }
                        @if (!(@id.LISTIMG9 == ""))
                    {

                            <a href="#">
                                <img src="~/Content/images/upload/@id.LISTIMG9">
                            </a>

                    }
                    </div>
                    <div class="col3">
                    @if (!(@id.LISTIMG10 == ""))
                    {

                        <a href="#">
                            <img src="~/Content/images/upload/@id.LISTIMG10">
                        </a>

                    }
                    @if (!(@id.LISTIMG11 == ""))
                    {

                        <a href="#">
                            <img src="~/Content/images/upload/@id.LISTIMG11">
                        </a>

                    }

                    @if (!(@id.LISTIMG12 == ""))
                    {

                        <a href="#">
                            <img src="~/Content/images/upload/@id.LISTIMG12">
                        </a>

                    }
                </div>
                    <div class="col4">
                    @if (!(@id.LISTIMG13 == ""))
                    {

                        <a href="#">
                            <img src="~/Content/images/upload/@id.LISTIMG13">
                        </a>

                    }
                    @if (!(@id.LISTIMG14 == ""))
                    {

                        <a href="#">
                            <img src="~/Content/images/upload/@id.LISTIMG14">
                        </a>

                    }

                    @if (!(@id.LISTIMG15 == ""))
                    {

                        <a href="#">
                            <img src="~/Content/images/upload/@id.LISTIMG15">
                        </a>

                    }


                </div>
                }

            </div>

            </div>

    </div>

}
 